<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="FrmListadoFacturaCompra.aspx.vb" Inherits="TGB.FrmListadoFacturaCompra" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Listado Facturas Compras</title>
     <link href="TGB.css" rel="stylesheet" type="text/css"  />
</head>
<body>
    <form id="form1" runat="server">
    <div title="Listado de Facturas">
        <table style="width :640px ; height:500px; background-image: url(imagenes/bg1.jpg); background-repeat: repeat-x; border-collapse: separate;">
            <tr>
                <td style="background-repeat: repeat-x; height: 10px; width: 699px;" align="center" valign="middle" colspan="2">
                    <img src="../imagenes/EitiSoft.jpg" style="width: 272px; height: 88px" />&nbsp;</td>
            </tr>
            <tr>
                <td align="center" colspan="2" style="background-repeat: repeat-x; height: 10px; width: 699px;"
                    valign="middle">
                    <asp:Label ID="Label1" runat="server" Style="font-weight: bold; font-size: 16px;
                        font-family: calibri" Text="Listado de Facturas Pendientes" Width="248px"></asp:Label></td>
            </tr>
            <tr>
                <td align="center" colspan="2" style="background-position: left center; background-image: url(imagenes/EitiSoft.jpg);
                    height: 1px; background-color: transparent; width: 699px;" valign="middle"><table class="tabla" style="width: 696px; height: 80px; text-align: center;" >
        <tr>
            <td align="left" style="width: 25%; height: 14px;">
                <asp:Label ID="Label3" runat="server" Text="Numeros" Font-Names="Calibri" Font-Size="12px"></asp:Label></td>
            <td style="width: 25%; height: 14px;" align="left" >
                <asp:TextBox ID="TxtNumero" runat="server" CssClass="campotxt" MaxLength="11" Font-Names="Calibri" Font-Size="12px"></asp:TextBox></td>
            <td align="right" style="width: 29%; height: 14px;">
                <asp:Label ID="Label2" runat="server" Text="Estados" Font-Names="Calibri" Font-Size="12px"></asp:Label></td>
            <td style="height: 14px; width: 104%;" align="left" >
                <asp:DropDownList ID="CboEstado" runat="server" CssClass="campotxt" Width="113px" AppendDataBoundItems="True" Font-Names="Calibri" Font-Size="12px">
                    <asp:ListItem Value="-1">Ninguno</asp:ListItem>
                    <asp:ListItem>Pendiente</asp:ListItem>
                    <asp:ListItem>Cancelado</asp:ListItem>
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td align="left" style="width: 25%; height: 20px;">
                <asp:Label ID="Label4" runat="server" Text="Proveedor" Font-Names="Calibri" Font-Size="12px"></asp:Label></td>
            <td align="left" colspan="3" style="height: 20px">
                <asp:DropDownList ID="CboProveedor" runat="server" CssClass="campotxt" Width="392px" AppendDataBoundItems="True" Font-Names="Calibri" Font-Size="12px">
                    <asp:ListItem Value="-1">Ninguno</asp:ListItem>
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td align="left" style="width: 25%; height: 22px;">
                <asp:Label ID="Label5" runat="server" Font-Names="Calibri" Font-Size="12px" Text="Condicion de Compra"></asp:Label></td>
            <td align="right" colspan="2" style="height: 22px">
                <asp:DropDownList ID="CboCondicion" runat="server" AppendDataBoundItems="True" CssClass="campotxt"
                    TabIndex="4" Width="344px" Font-Names="Calibri" Font-Size="12px">
                    <asp:ListItem Value="-1">Ninguno</asp:ListItem>
                </asp:DropDownList></td>
            <td style="width: 104%; height: 22px;" align="right" >
                <asp:LinkButton ID="LnkBuscar" runat="server" CssClass="BotonLink" Font-Names="Calibri"
                    Font-Size="12px" TabIndex="13" Width="48px">Buscar</asp:LinkButton>/<asp:LinkButton
                        ID="LinkCancelar" runat="server" CssClass="BotonLink" Font-Names="Calibri" Font-Size="12px"
                        TabIndex="13" Width="48px">Cancelar</asp:LinkButton></td>
        </tr>
        <tr>
            <td align="right" colspan="4" style="height: 21px; vertical-align: middle; background-color: transparent; text-align: center;" >
                <asp:Label ID="LblError" runat="server" Font-Bold="True" Font-Names="Calibri" Font-Size="12px"
                    ForeColor="Red" Width="560px" CssClass="LabelError"></asp:Label>
                &nbsp;&nbsp;
            </td>
        </tr>
        
    </table>
                </td>
            </tr>
            <tr>
                <td style="width: 1648px; height: 160px;" align="center" valign="middle">
                    <asp:GridView ID="GridFacturas" runat="server" AutoGenerateColumns="False" CellPadding="4"
                        ForeColor="Black" GridLines="Horizontal" Height="48px" PageSize="8" Width="680px" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" AllowPaging="True" CellSpacing="1">
                        <FooterStyle BackColor="#CCCC99" ForeColor="Black" />
                        <Columns>
                            <asp:TemplateField HeaderText="Numero">
                                <EditItemTemplate>
                                    <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("Numero") %>'></asp:TextBox>
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <asp:Label ID="LblNumero" runat="server" Text='<%# Bind("Numero") %>'></asp:Label>
                                    <asp:HiddenField ID="HFFactura" runat="server" Value='<%# Bind("CodigoFactura") %>' />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Proveedor">
                                <EditItemTemplate>
                                    <asp:TextBox ID="TextBox4" runat="server" Text='<%# Bind("RazonSocial") %>'></asp:TextBox>
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <asp:Label ID="LblRazonSocial" runat="server" Text='<%# Bind("RazonSocial") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Condicion de Compra">
                                <EditItemTemplate>
                                    <asp:TextBox ID="TextBox5" runat="server" Text='<%# Bind("DescripcionCond") %>'></asp:TextBox>
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <asp:Label ID="LblCondicion" runat="server" Text='<%# Bind("DescripcionCond") %>'></asp:Label>
                                    <asp:HiddenField ID="HFCondicion" runat="server" Value='<%# Bind("IdCondCompra") %>' />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Estado">
                                <EditItemTemplate>
                                    <asp:TextBox ID="TextBox6" runat="server" Text='<%# Bind("Estado") %>'></asp:TextBox>
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <asp:Label ID="LblEstado" runat="server" Text='<%# Bind("Estado") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField>
                                <EditItemTemplate>
                                    <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <asp:LinkButton ID="LnkEliminar" runat="server" CommandName="Eliminar">Eliminar</asp:LinkButton>
                                    /
                                    <asp:LinkButton ID="LnkMasdatos" runat="server" CommandName=" ">Mas Informacion</asp:LinkButton>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                        <RowStyle Font-Names="Calibri" Font-Size="12px" />
                        <SelectedRowStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
                        <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" Font-Names="Calibri" Font-Size="12px" />
                    </asp:GridView>
&nbsp;<asp:LinkButton ID="BtnImprimir" runat="server" Font-Overline="False" Font-Size="10pt" Visible="False" CssClass="Link">Reporte</asp:LinkButton>
                    &nbsp; &nbsp;</td>
            </tr>
            <tr>
                <td align="left" style="width: 1648px" valign="middle">
                    <img src="../imagenes/LogoEiti.JPG" style="width: 24px; height: 24px" /></td>
            </tr>
            <tr>
                <td align="right" colspan="2" valign="middle" style="height: 10px; background-repeat: repeat-x; background-image: url(imagenes/bg1.jpg); width: 699px;">
                
                    <%--<a href="tgb.master" onclick="return GB_showCenter('Google', this.href)">Ingresar al Sistema</a>--%>
                    &nbsp;
                   
                   </td>
    </tr>
        </table>



    </div>
    </form>
        <%--<a href="tgb.master" onclick="return GB_showCenter('Google', this.href)">Ingresar al Sistema</a>--%>

</body>
</html>
